
<div class="bottom-menu">
	<div class="container">
		<div class="row">
			<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">		
					<{widgets id="bottom-menu-first"}>
			</div>
			<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">
					<{widgets id="bottom-menu-second"}>
			</div>
			<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">
				<{widgets id="bottom-menu-third"}>
			</div>
			<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">
				<{widgets id="bottom-menu-fourth"}>
			</div>
		</div>
	</div>
</div>
<div class="footer">
	<div class="container">
		<{widgets id="copyright"}>
	</div>
</div>
<div class="to-top-arrow">
	<span class="glyphicon glyphicon-chevron-up"></span>
</div>
	<!--scripts-->
	<!--<script type="text/javascript" src ="/themes/qifa/js/jquery.cookie.js"></script>-->
	<script type="text/javascript" src ="/themes/qifa/js/bootstrap.min.js"></script>
	<script type="text/javascript" src ="/themes/qifa/js/owl.carousel.js"></script>
	<!--[if lte IE 8]>
	<script src="/themes/qifa/js/respond.js"/></script>
	<![endif]-->
	<script type="text/javascript" src ="/themes/qifa/js/blueimp-gallery.min.js"></script>
	<!--scripts end-->	

<{footer}>

<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
  
  var memberID = Cookie.read('S[MEMBER]');
  if(memberID){
	 ga('set', '&uid', {{memberID}});
	 //ga('create', 'UA-83018822-1', 'auto', {'userId': memberID});
  }
  ga('create', 'UA-83018822-1', 'auto');
  ga('send', 'pageview');
  ga('require', 'ec');	
</script>

<!-- Yandex.Metrika counter -->
<script type="text/javascript">
    (function (d, w, c) {
        (w[c] = w[c] || []).push(function() {
            try {
                w.yaCounter38355260 = new Ya.Metrika({
                    id:38355260,
                    clickmap:true,
                    trackLinks:true,
                    accurateTrackBounce:true,
                    webvisor:true,
                    ecommerce:"dataLayer"
                });
            } catch(e) { }
        });

        var n = d.getElementsByTagName("script")[0],
            s = d.createElement("script"),
            f = function () { n.parentNode.insertBefore(s, n); };
        s.type = "text/javascript";
        s.async = true;
        s.src = "https://mc.yandex.ru/metrika/watch.js";

        if (w.opera == "[object Opera]") {
            d.addEventListener("DOMContentLoaded", f, false);
        } else { f(); }
    })(document, window, "yandex_metrika_callbacks");
</script>
<noscript><div><img src="https://mc.yandex.ru/watch/38355260" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->




<!--RetailRocket-->
  <script type="text/javascript">
       var rrPartnerId = "57da93275a658812c81fe76c";       
       var rrApi = {}; 
       var rrApiOnReady = rrApiOnReady || [];
       rrApi.addToBasket = rrApi.order = rrApi.categoryView = rrApi.view = 
           rrApi.recomMouseDown = rrApi.recomAddToCart = function() {};
       (function(d) {
           var ref = d.getElementsByTagName('script')[0];
           var apiJs, apiJsId = 'rrApi-jssdk';
           if (d.getElementById(apiJsId)) return;
           apiJs = d.createElement('script');
           apiJs.id = apiJsId;
           apiJs.async = true;
           apiJs.src = "//cdn.retailrocket.ru/content/javascript/tracking.js";
           ref.parentNode.insertBefore(apiJs, ref);
       }(document));
    </script>
	<script type="text/javascript" src ="/themes/qifa/js/scripts.js"></script>

<script>
    /*  ======================================  跳转页面的js===================================*/
    function gaibian(){
        jQuery(".inter_a").removeClass('disabled');
    }
    function huachu(){
        var pageNum = jQuery('input[name="pageNum"]').val();
        var maxNum = parseInt(jQuery('.flip.next').prev().text());
        if ( pageNum=='' || isNaN(pageNum) || pageNum<=0 || pageNum>maxNum ) {
            jQuery(".inter_a").addClass('disabled');
        }
        else{
            jQuery(".inter_a").removeClass('disabled');
        }
    }
    function getPageNum(obj) {
// jQuery(obj).attr("href","/index.php/gallery-ajax_get_goods.html");
        var pageNum = jQuery('input[name="pageNum"]').val();
        if(jQuery(obj).attr('href').indexOf('ajax_get_goods')>=0){

            jQuery(obj).html(pageNum);
        }else{
            var obj_href = jQuery(obj).attr('href');
            var arr = obj_href.split('-');
            arr.pop()
            var str = arr.join('-')+'-'+pageNum+'.html';
            jQuery(obj).attr('href',str);
        }


    }
    /*  ======================================  跳转页面的js end===================================*/
</script>

<!-- BEGIN JIVOSITE CODE {literal} -->
<script type='text/javascript'>
(function(){ var widget_id = 'GauwXErOGH';var d=document;var w=window;function l(){
var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = '//code.jivosite.com/script/widget/'+widget_id; var ss = document.getElementsByTagName('script')[0]; ss.parentNode.insertBefore(s, ss);}if(d.readyState=='complete'){l();}else{if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})();</script>
<!-- {/literal} END JIVOSITE CODE -->
